package com.bdqn.vueboot.mapper;

import com.bdqn.vueboot.entity.Department;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Entity com.bdqn.vueboot.entity.Department
 */
@Mapper
@Component
public interface DepartmentMapper extends BaseMapper<Department> {
     @Select("select * from department")
     List<Department> allDepartmentList();
}




